/* 
	--------------------------------------------------------------
	gm_ebay.js 04.01.2002 pt@gambio
	Gambio OHG
	http://www.gambio.de
	Copyright (c) 2007 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
	--------------------------------------------------------------
*/
	function gm_ebay_show(type) {
		if(type == 1) {
			$("#gm_store").show();
			$("#gm_user").hide();
		} else {
			$("#gm_user").show();
			$("#gm_store").hide();
		}			
	}


	$(document).ready(function() {	
		
		gm_ebay_show($("#GM_EBAY_HIDDEN_TYP").val());	

		$("#GM_EBAY_TYP").change(function() {
			var type = $("#GM_EBAY_TYP").val();
			gm_ebay_show(type);	
		});
	});